#ifndef SC_CAR_DEF_LOADER_H_INCLUDED
#define SC_CAR_DEF_LOADER_H_INCLUDED

#include "src/common/be_xml_helper.h"
#include "src/filesystem/be_file.h"
#include <string>

class ScCarDefManager;

class ScCarDefLoader
{
public:
	bool load(ScCarDefManager& carDefManager, const BeFile* befile) const;
	void loadChassis(ScCarDefManager& carDefManager, const TiXmlElement& element, const std::string& path) const;
	void loadCar(ScCarDefManager& carDefManager, const TiXmlElement& element) const;
};

#endif
